package com.example.xlmkotlinwanandroid.network

import com.example.xlmkotlinwanandroid.model.bean.TagsResponse
import java.io.Serializable

class ArticleResponse2 {
    var errorCode: Int = 0
    var errorMsg: String = ""
    var data: ApiPagerResponse2? = null

    data class ApiPagerResponse2(
        var datas: List<ArticleBean2>,
        var curPage: Int,
        var offset: Int,
        var over: Boolean,
        var pageCount: Int,
        var size: Int,
        var total: Int
    ) : Serializable

    data class ArticleBean2(
        var apkLink: String,
        var author: String,//作者
        var chapterId: Int,
        var chapterName: String,
        var collect: Boolean,//是否收藏
        var courseId: Int,
        var desc: String,
        var envelopePic: String,
        var fresh: Boolean,
        var id: Int,
        var link: String,
        var niceDate: String,
        var origin: String,
        var prefix: String,
        var projectLink: String,
        var publishTime: Long,
        var superChapterId: Int,
        var superChapterName: String,
        var shareUser: String,
        var tags: List<TagsResponse>,
        var title: String,
        var type: Int,
        var userId: Int,
        var visible: Int,
        var zan: Int
    ) : Serializable
}